<template>
  <router-view></router-view>
</template>

<script setup>
import { onBeforeMount } from "vue";
import { useThemeSwapStore } from "@/stores/themeSwap";
const { initTheme } = useThemeSwapStore();
//生命周期渲染之前
onBeforeMount(() => {
  initTheme();
});

</script>

<style lang="scss">

</style>
